package org.ee.system.vo;

import org.ee.framework.jpa.base.BaseVo;
import org.ee.system.domain.Menu;

import java.util.List;

/**
 * 菜单vo
 * @Author jokr
 * @Date 2025/9/1 11:12
 */
public class MenuVo extends BaseVo {
    private Long id;

    private String name;

    private String path;

    private String component;

    private String icon;

    private Boolean showBadge;

    private String showTextBadge;

    private Boolean isHide;

    private Boolean isHideTab;

    private String link;

    private Boolean isIframe;

    private Boolean keepAlive;

    private Boolean isFirstLevel;

    private Long parentId;

    private String parentName;

    private Boolean isFullPage = false;

    private Integer sortNum = 0;

    private List<MenuVo> children;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Boolean getShowBadge() {
        return showBadge;
    }

    public void setShowBadge(Boolean showBadge) {
        this.showBadge = showBadge;
    }

    public String getShowTextBadge() {
        return showTextBadge;
    }

    public void setShowTextBadge(String showTextBadge) {
        this.showTextBadge = showTextBadge;
    }

    public Boolean getHide() {
        return isHide;
    }

    public void setHide(Boolean hide) {
        isHide = hide;
    }

    public Boolean getHideTab() {
        return isHideTab;
    }

    public void setHideTab(Boolean hideTab) {
        isHideTab = hideTab;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public Boolean getIframe() {
        return isIframe;
    }

    public void setIframe(Boolean iframe) {
        isIframe = iframe;
    }

    public Boolean getKeepAlive() {
        return keepAlive;
    }

    public void setKeepAlive(Boolean keepAlive) {
        this.keepAlive = keepAlive;
    }

    public Boolean getFirstLevel() {
        return isFirstLevel;
    }

    public void setFirstLevel(Boolean firstLevel) {
        isFirstLevel = firstLevel;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public List<MenuVo> getChildren() {
        return children;
    }

    public void setChildren(List<MenuVo> children) {
        this.children = children;
    }

    public Boolean getFullPage() {
        return isFullPage;
    }

    public void setFullPage(Boolean fullPage) {
        isFullPage = fullPage;
    }

    public Integer getSortNum() {
        return sortNum;
    }

    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

}
